package cn.itcast.service;

import cn.itcast.domain.delivery.WayBill;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface WayBillService {
    void save(WayBill wayBill);

    Page<WayBill> findPageData(WayBill wayBill, Pageable pageable);

    WayBill findByWayBillNum(String wayBillNum);

    List<WayBill> findAll();
}
